package com.dearbinge.data.dao;

import com.dearbinge.data.pojo.uweShare.UweShare;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface UweShareMapper {
    Integer update(UweShare uweShare);

    Integer insert(UweShare uweShare);

    Integer delete(Integer id);

    List<UweShare> getByIdAndFromType(@Param("id") Integer id, @Param("fromType")Integer fromType);

    List<UweShare> getById(Integer id);
}
